<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    /*
    1.与&& 俩边true，结果才为true
    2.或|| 一边true，结果才为true
    3.非！ true变false，false变true */

  </script>
</body>

</html>